package com.kuang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

//    @RequestMapping({"/","/index.html"})//不建议做
//    public String index(){
//        return "index";
//    } 在mymvcconfig里面配置类后这里就不需要了

}
